let obj = {
    name: '钟总',
    age: 18,
    like: {
      n: '金铲铲'
    },
    a: true,
    b: null,
    c: undefined,
    d: Infinity,
    e: -Infinity,
    f: NaN,
    g: Symbol(1),
    i: function() {}
  }

let str = JSON.stringify(obj)//变成字符串
let res = JSON.parse(str)
obj.like.n='王者荣耀'
console.log(res);
